/*
* 接口
* */
// const baseUrl = 'http://192.168.1.239:8080/'
const baseUrl = 'http://47.96.182.97:8084/data-analysis-admin/'
export default {
  login: baseUrl + 'home/page/getAllModule',
  // login: 'static/data/router.json',
  city: 'static/data/city.json',
  lineType: baseUrl + 'city/findCityInfoByCityCode',
  indexItem: { // 首页
    allTrade: baseUrl + 'home/page/getTradeTop20', // top20
    allTotal: baseUrl + 'home/page/getCardAndTradeTotal', // 总领卡数，总交易量
    cardItem: baseUrl + 'home/page/getCardTrend', // 领卡趋势
    deviceLife: baseUrl + 'home/page/getDeviceDetail',
    userTotal: baseUrl + 'home/page/getUserAnalysis' // 用户分析
  },
  cardData: { // 领卡数据
    result: baseUrl + 'data/card/findDetailForList',
    total: baseUrl + 'data/card/findActualList',
    compare: baseUrl + 'data/card/findCompareCardUser',
    export: baseUrl + 'data/card/getExcel',
    compareExport: baseUrl + 'data/card/getCompareExcel'
  },
  paymentData: { // 支付分析
    result: baseUrl + 'data/trade/findDetailTradeList',
    total: baseUrl + 'data/trade/findTradeList',
    compare: baseUrl + 'data/trade/findCompareTradeList',
    export: baseUrl + 'data/trade/getExcel',
    compareExport: baseUrl + 'data/trade/getCompareExcel'
  },
  paymentUserData: { // 支付用户
    result: baseUrl + 'user/pay/analysis/getUserPayMinuteDetail',
    total: baseUrl + 'user/pay/analysis/getUserPaynanlysis',
    compare: baseUrl + 'user/pay/analysis/getComparaiveAnalysis',
    export: baseUrl + 'user/pay/analysis/getExcel',
    compareExport: baseUrl + 'user/pay/analysis/getComparaiveAnalysisExcel'
  },
  activeUserData: { // 活跃用户
    result: baseUrl + 'data/activity/ActivityUserDetailList',
    total: baseUrl + 'data/activity/ActivityUserTotalList',
    compare: baseUrl + 'data/activity/CompareActivityUserList',
    export: baseUrl + 'data/activity/getExcel',
    compareExport: baseUrl + 'data/activity/getCompareExcel'
  },
  remainUserData: { // 留存用户
    result: baseUrl + 'data/remainUser/RemainUserDetailList',
    total: baseUrl + 'data/remainUser/RemainUserTotalList',
    export: baseUrl + 'data/remainUser/getExcel'
  },
  lineAnalysisData: { // 线路分析
    bar: baseUrl + 'line/findTradeLineList',
    table: baseUrl + 'line/findTradeLineList',
    total: baseUrl + 'line/findTotalTradeLine',
    export: baseUrl + 'line/getExcel'
  }
}
